import {request} from '@/utils/request';
export default {
    // 请求history记录 
    reqHistory(id){
        return request.get('/search/gethistory',id)
    },
    // 模糊查找关键字
    reqKeyword(keyword){
        return request.post('/search/searchkeyword',keyword)
    },
    saveHistory(keyword){
        return request.post('/search/savehistory',keyword)
    },
    reqClearHistory(id){
        return request.post('/search/clearhistory',id)
    }
}